package com.qj.travel.db.dao;

import com.qj.travel.db.model.VoteRecordModel;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Admin on 2016/10/17.
 */
public interface VoteRecordDao {
    int insertRecord(VoteRecordModel voteRecordModel);
    int selectUserByVideoId(int videoId);
    int selectUserNum(@Param("today") String today, @Param("tomorrow") String tomorrow,@Param("userId") String userId);
    int selectIpNum(@Param("today") String today,@Param("tomorrow") String tomorrow,@Param("voteIp") String voteIp);
}
